Skip to content

ci: migrate off Stainless to release-please publishing#20

Merged
mokevnin merged 1 commit into
mainfrom
ci/migrate-off-stainless
Jun 26, 2026
Merged

ci: migrate off Stainless to release-please publishing#20
mokevnin merged 1 commit into
mainfrom
ci/migrate-off-stainless

Conversation

@mokevnin

Copy link
Copy Markdown
Member

Stainless wound down its hosted SDK generator, so this gem is now hand-maintained. This restores an in-repo release/publish pipeline (mirrors the migration already shipped in cloudpayments-ruby and the two-job pattern from hexlet-ide).

  • ci.yml: removed the Stainless build job (gated on the stainless-sdks/* mirror, uploaded to pkg.stainless.com) and the codegen/** / stl-preview-* plumbing. lint/test run on pushes to main and PRs.
  • release.yml (new): googleapis/release-please-action@v5 + a publish job gated on release_created that runs bin/publish-gem in the same workflow run — no GITHUB_TOKEN cascade, no PAT.
  • publish-gem.yml: reduced to a manual workflow_dispatch fallback.
  • release-please-config.json: official schema; dropped prerelease mode and the Stainless-only ruby-readme updater (→ standard generic).

No source changes. After merge, a future conventional-commit change opens a release PR; merging it publishes to RubyGems.

🤖 Generated with Claude Code

Stainless wound down its hosted SDK generator, so this gem is now
hand-maintained and its Stainless-driven CI/release plumbing is dead.

- Drop the Stainless build job and codegen/stl-preview branch plumbing from
  ci.yml; lint and test now run on normal pushes to main and on PRs.
- Add release.yml with the release-please + gated publish pattern (same as
  hexlet-ide): the publish job runs in the same workflow invocation that cuts
  the release, so no GITHUB_TOKEN cascade or PAT is needed.
- Reduce publish-gem.yml to a manual workflow_dispatch fallback.
- Retarget release-please-config.json from the Stainless fork to the official
  schema, dropping prerelease mode and the Stainless-only ruby-readme updater
  in favor of the standard generic README updater.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
@mokevnin mokevnin merged commit 148e68f into main Jun 26, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant